
<%@ page import="LaunchRamp.Kid" %>
<!DOCTYPE html>
<html>
	<head>
		<meta name="layout" content="main">
		<g:set var="entityName" value="${message(code: 'kid.label', default: 'Kid')}" />
		<title><g:message code="default.show.label" args="[entityName]" /></title>
	</head>
	<body>
		<a href="#show-kid" class="skip" tabindex="-1"><g:message code="default.link.skip.label" default="Skip to content&hellip;"/></a>
		<div class="nav" role="navigation">
			<ul>
				<li><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></li>
				<li><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></li>
				<li><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></li>
			</ul>
		</div>
		<div id="show-kid" class="content scaffold-show" role="main">
			<h1><g:message code="default.show.label" args="[entityName]" /></h1>
			<g:if test="${flash.message}">
			<div class="message" role="status">${flash.message}</div>
			</g:if>
			<ol class="property-list kid">
			
				<g:if test="${kidInstance?.firstName}">
				<li class="fieldcontain">
					<span id="firstName-label" class="property-label"><g:message code="kid.firstName.label" default="First Name" /></span>
					
						<span class="property-value" aria-labelledby="firstName-label"><g:fieldValue bean="${kidInstance}" field="firstName"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${kidInstance?.lastName}">
				<li class="fieldcontain">
					<span id="lastName-label" class="property-label"><g:message code="kid.lastName.label" default="Last Name" /></span>
					
						<span class="property-value" aria-labelledby="lastName-label"><g:fieldValue bean="${kidInstance}" field="lastName"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${kidInstance?.email}">
				<li class="fieldcontain">
					<span id="email-label" class="property-label"><g:message code="kid.email.label" default="Email" /></span>
					
						<span class="property-value" aria-labelledby="email-label"><g:fieldValue bean="${kidInstance}" field="email"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${kidInstance?.address}">
				<li class="fieldcontain">
					<span id="address-label" class="property-label"><g:message code="kid.address.label" default="Address" /></span>
					
						<span class="property-value" aria-labelledby="address-label"><g:fieldValue bean="${kidInstance}" field="address"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${kidInstance?.zip}">
				<li class="fieldcontain">
					<span id="zip-label" class="property-label"><g:message code="kid.zip.label" default="Zip" /></span>
					
						<span class="property-value" aria-labelledby="zip-label"><g:fieldValue bean="${kidInstance}" field="zip"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${kidInstance?.age}">
				<li class="fieldcontain">
					<span id="age-label" class="property-label"><g:message code="kid.age.label" default="Age" /></span>
					
						<span class="property-value" aria-labelledby="age-label"><g:fieldValue bean="${kidInstance}" field="age"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${kidInstance?.phone}">
				<li class="fieldcontain">
					<span id="phone-label" class="property-label"><g:message code="kid.phone.label" default="Phone" /></span>
					
						<span class="property-value" aria-labelledby="phone-label"><g:fieldValue bean="${kidInstance}" field="phone"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${kidInstance?.guardianFirstName}">
				<li class="fieldcontain">
					<span id="guardianFirstName-label" class="property-label"><g:message code="kid.guardianFirstName.label" default="Guardian First Name" /></span>
					
						<span class="property-value" aria-labelledby="guardianFirstName-label"><g:fieldValue bean="${kidInstance}" field="guardianFirstName"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${kidInstance?.guardianLastName}">
				<li class="fieldcontain">
					<span id="guardianLastName-label" class="property-label"><g:message code="kid.guardianLastName.label" default="Guardian Last Name" /></span>
					
						<span class="property-value" aria-labelledby="guardianLastName-label"><g:fieldValue bean="${kidInstance}" field="guardianLastName"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${kidInstance?.guardianEmail}">
				<li class="fieldcontain">
					<span id="guardianEmail-label" class="property-label"><g:message code="kid.guardianEmail.label" default="Guardian Email" /></span>
					
						<span class="property-value" aria-labelledby="guardianEmail-label"><g:fieldValue bean="${kidInstance}" field="guardianEmail"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${kidInstance?.guardianPhone}">
				<li class="fieldcontain">
					<span id="guardianPhone-label" class="property-label"><g:message code="kid.guardianPhone.label" default="Guardian Phone" /></span>
					
						<span class="property-value" aria-labelledby="guardianPhone-label"><g:fieldValue bean="${kidInstance}" field="guardianPhone"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${kidInstance?.about}">
				<li class="fieldcontain">
					<span id="about-label" class="property-label"><g:message code="kid.about.label" default="About" /></span>
					
						<span class="property-value" aria-labelledby="about-label"><g:fieldValue bean="${kidInstance}" field="about"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${kidInstance?.image}">
				<li class="fieldcontain">
					<span id="image-label" class="property-label"><g:message code="kid.image.label" default="Image" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${kidInstance?.verified}">
				<li class="fieldcontain">
					<span id="verified-label" class="property-label"><g:message code="kid.verified.label" default="Verified" /></span>
					
						<span class="property-value" aria-labelledby="verified-label"><g:formatBoolean boolean="${kidInstance?.verified}" /></span>
					
				</li>
				</g:if>
			
			</ol>
			<g:form>
				<fieldset class="buttons">
					<g:hiddenField name="id" value="${kidInstance?.id}" />
					<g:link class="edit" action="edit" id="${kidInstance?.id}"><g:message code="default.button.edit.label" default="Edit" /></g:link>
					<g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" />
				</fieldset>
			</g:form>
		</div>
	</body>
</html>
